fixed create method in controller