fix gzipped body edit