add conditional import for couch_db work