fix accessed global annotation being redefined in a local scope (#765)

2 files changed