fixed setting default value for element class name