More bug fixes for create post