remove incompatible characters