fix for issue #104