Fix favorite bugs.