fix for issue #89