collapse rows when deleting routes