fix for TypeAhead