added patch of issue #10