fixed segmap extension bug