fix aws gem, and access key env variable