remove illegal char