fixing class