debugging category error