bug fix. issue #10