remove erroneos character