fixed CDF initialization