fixes issue #97