fix for cloudant