fixing class loading error