parse class name