曲突徙薪

qū tū xǐ xīn

lit. to bend the chimney and remove the firewood (to prevent fire) (idiom)

fig. to take preventive measures

曲

qū

variant of 麴|曲[qu1]

突

tū

to dash

徙

xǐ

(literary) to change one's residence

薪

xīn

(literary) firewood; fuel