fixed small bug with variance estimation for baseline