changed the uniqueness validation of class name, should be unique within the same program, fixing #25