fix: should check parent segment existence.