Fix for issue #169

https://github.com/peej/tonic/issues/169