error fix for webdav upload