moved gzip around to see if it fixes the cookies issue