fixed issues with owncloud 6.0.4