fix routing config