fix routing in teamreg