some doccloud fixes