fix routing for previous terms