Minor refactoring of link $dest