Revert "fix compression version"

This reverts commit fb81538cbf6b48bd54e5e8cdde8247535cb75dc1.
change middleware's sequence