Fixed bad segment id