Fixed an issue with adding new post.