some upload tweaks