fixed ec2 file