restored env