fixed issue #186