add route PathExp validation when the router is started.