prevent in memory db reset