changed transformation of colspec from th to caption. this allows proper usage of thead and th transform which were also added