Fixed mismatched segment id