fix some bugs when move post