fixed bad env export