Fixed creation of the class name

Fixed creation of the class name