fixed ec2 location aware dependency