Fixing trailing comma in categories