adjust route def