fixed favorite bug