fix bug in 'delete-other-windows'