fix create class controller