treat url the same as route for the check