fix bug that uploaded image would disappear when edit.