parseClass should popScope after pushScope