fix splited segment stack error