fixed search, added raven db