fix error s3 and add unf gem