fix stupid error in set_env