erase pending after they are confirmed