Fixed unbounded local error
Merge pull request #126 from AndrewFly/master

Fixed unbounded local error issue