fixed issue #189