minor fix (add a `global` :|)