fix for issue #124

fix for issue #124