Commented out useless code in cloud_distribution and fixed some guess related bugs