improved delete+all function.. now more rubust