add category validation