fixed some issues with remote couch