fix to set EC2 instance type