fix ordering of static routes