Fix favorite bug