fixed and closed issue #98