fixes issue #86