prevent empty category name