have somebody to thank
have (one) to thank
To have one to blame or acknowledge as the cause or source of something. I have two sick toddlers to thank for my lack of sleep last night. If this fix works, we'll have Nina to thank—it was entirely her idea.