modify: refactor as lexical.

enclear what var is defconst(global).