set compression and whitespace