fix error in categories#create with empty fields
before rebase