[HotFix] Fix Pull #407

HotFix: Fix Pull #407. Incorrect resolution for const variable.