fix error messages in ClassLoaderHelper