fixed error with redirect after deleting an article