remove a character that causes breakage