fix github issue #97