What are some sitcoms that started off terrible but ended up being amazing?

Which sitcoms in your opinion were terrible when they were first introduced but by season2 they turned out to be kinda freaking awesome? Which shows looked like they might be cancelled because they weren't that great at the beginning but we're amazing