removing diacritical marks when searching by capital
small refactor