another attempt to fix perm errors