fix crash on fire