Fix category identifier
Fix function declaration