another fix to env