changed last reference from EC2Cloud.get to cloud.get within static function getInstance in EC2Slave.