Fix typo, and add precision to logged compression ratio