fixed adding favorites, but adds duplicates