Fixed crash in dosweep.