[core] better remove canonical from links with slash at and