gzip feature and minor fixes

just remove the no longer needed code