fix create post from submit