add upload debug