change unsafe chars