fixes route migration as well