handle failed uploads