preventing superClassName empty issue