fixed bug with class name display