Correcting my category creation error