fix for ravendb