Solved bug at creating posts.