fixes algo was overriden envConf