check if needs to be deleted