cosmetic cleanup in TMS tables