fix s3 commands