catch search exception