allow env to access last_request.env