fixed category not being compared as string