fix after changes to mock_couch