fixed secure-env