moving env to fetch