Fix for type ahead