Remove stale character code