fix ec2interface
replacing old library, be careful