debug mod_xc and thermf

problem in mod_xc and thermf