fixes issue #2