Fix task controller create action