fix bad char