volume upload: removed unused variables