fixed smart needle search