fixed the classmap