minor typos
[minor] remove the dummy return value for out-of-bound environment lookup