Fixed adding categories