fix routing bug with tag