fix deleted post bug