fix problem with mark a post as deleted