Fixing categories field