Fix typo in compression helper