fix upload imgae bug