added compress middleware