simplified error handling in create form