fix for issue 135

Fix for
https://github.com/timmolter/XChange/issues/135