fixed invalid contacts search