add route resolve.