fix little inaccuracy in tab completion