fix for issue #81

fix for issue #81