Fixed a simple error in s3 retrieval.