fix for issue #198