Environment variable duplicates

acknowledged as a bug here: