getting favorites link to work