z_pdf_bins fix