refactor: fix again the add to favorites method