fixed issue with ENV variables and workers