Fixed remnant characters when completing.