fix coffee compression when debug is not True