[core] functions to select best link to render