Fix last character highlighted