fixed some bugs with aws, especially around regions