some named environment fixes