bugfix for webdav