fix crash on confusion wearing off on linux