fix bug introduced by last works on CheckEnv in --init function