try to fix rare crashing error