Fix to loadClass