fixes issue #10