fixed issue #219