debug uploadRaw*