bugfix

Upload needs bugfix