fix for issue #229