Fixed issue with the function GetCloud