fix for issue #90