fixed ravendb repository