Fix for cached compression