fix task-create form validation