fix for "stuck" del mode