fixed classname in onCompile