fixed bug with requiring incorrect file to cloud