fixed long classname bug