fixed issue #261