Fix create class