correct confint function