fixed errors on sampling fractions