add possibility to disable compression