fixed logging of class loading