Fox has this thing for Smith. Meanwhile, most all their viewers dislike him to some extent, and many detest him.
He's on in the afternoon, when most of the people who hate him are at work, so his ratings aren't bad.