fix delete category