Correction minor bug on changing env - move msg dialog