issue #1: resolve ambiguous names by renaming (to escape lambda casting)