Fixed the SED search pattern isssue