correct treatment of redshift distribution