add compression, bug fix