*sz4: some fixes