fix compress/encrypt routine