fix for issue #180