another upload related bug fix