refactor fuzzy eos scanner