fix a low-level error
Merge pull request #750 from qicrosoft/master

fix a low-level error