fix "upload" task