Changed some stuff on deleteall