fix colspan in table for parent child hierarchies