finish card link logic