cleanup segment added to extension_parser

cleanup segment added to extension_parser