fixed gzip issue - #49