Fixed error when not loggin on S3