fixed error that allowed a blank string for the cat name