fix non-category error