fix for issue #10