fixed issue #262