fix for issue #125

fix for issue #125