restoring env declaration