fixes issue #116