fixed issue #119.