fix for let - catch duplicate variable bindings error