min fix on search