upload behavior fix