Fix a bug in stashenv.sch