fix for issue #79