turn of debug mode in s3