minor fix to ec2
Merge pull request #23 from indykish/master

minor fix to ec2