trying to fix the permission mess