fix undefined classname