fixed duplicate favorite bug