get back db wrapper