Bugfix: couldn't update or preview posts.