replace rare characters by underscore