Fix create post bug