fix compressed library