make AWS compatible