diff --git a/src/js/autocomplete.js b/src/js/autocomplete.js
index 64b708e..b53253a 100644
--- a/src/js/autocomplete.js
+++ b/src/js/autocomplete.js
@@ -59,7 +59,7 @@ function completely(config) {
divRow.onmouseout = onMouseOut;
divRow.onmousedown = onMouseDown;
divRow.__hint = array[i];
- divRow.innerHTML = token + '' + array[i].substring(token.length) + '';
+ divRow.innerHTML = array[i].substring(0, token.length) + '' + array[i].substring(token.length) + '';
rows.push(divRow);
elem.appendChild(divRow);
}