fixes with category delete