fixed secure envs