fix routing not caching properly and sometimes interfering