Fixed no categories bug