fix delete post bug