fix lin2cosmorec

fix link2cosmorec