another attempt to fix the permission problem