Possible fix for type ahead