fixed post delete bug