fix bug where trainregion not same as segriong