Bug fix in environment configs.