extracting .ear when found