fix(category): deleting a category is causing a 404 error