Fix syntax
Fix assignment of default category