compression bugfix