fixing the secure env variable