route end checking