fix bug in dashboard when you deleted a link