Fix: crash various (TY: cqqjjf).