fixes general completion, but causes file completion to bug for filenams that
start with the same string