fix relative uncertainty in case of joint samples