fix some bug of the post