fixed github issue #220