Fixed compression bug