fixes to aws run instances method