fix validation for create