correct error on TypeAheadType option