fixed bug for post.