Fix for creating new categories