fixed typo, updated the env widget to return env string when invoked