bugfix for unchunked upload