Fix cut-off content and gzip