fix stupid bug in compression system