fixes #14 correct pass through user supplied segments