modify typeAhead