fixes issue #115