fix gzip middleware registration
version bump 1.2.2