fixed --upload