Fixed the bug of Posts.view.