fixed issue #119