remove import prior of checking if the class can be loaded