fixed: permissions deadloop