outer dir and match logic protection from maintenance