minor upload bug fix
minor upload bug fix