fix saving couchrequests into db