fixed bug with wrong user as owner of files