fix for issue #83