fixes issue #194