fix route exception issue