bug fix about the photon solver and the radiation solver