Fix route check