fixed s3 get directory