cloudmine improvements and a bug fix