[Fix] yield links in outter function properly