fixes issue #43