fix for issue #105