fixes category name validation error