fixed bug with cloud, there is still a minor issue with the button