fixed aws loading of config