fix code overflow
Merge pull request #281 from jay-hodgson/develop

fix code overflow