removed pattern localization