fix supervisor bug on environment parameter