Fixed the unbounded error
Merge pull request #9 from brian-zhao-bex/error-handle

Fixed the unbounded error