check for empty classname