fix delete all button bug