fixed bug in classes being compiled.