fix some minor issues
Merge pull request #8714 from owncloud/minor-fixes

fix some minor issues