Fix bug that prevent from creating post