clean up lists when deleting