remove global variable
remove global variable
remove global variable
Merge pull request #838 from WS64/master

refactoring: remove global variable GLOBAL_INPUT_VALUE