added tag deletion to post delete method