fixed issue #290