fixing up ionization and recombination