Fixing changing category from string to pointer