cleaned up error handling on the cloud settings