fixes
https://github.com/owncloud/core/issues/5289