fixed small bug in search engine
fixed warning in IB