fix for issue #183