removed ensureindexes, should be done in the app