fxied bug in tp_summary, closes #364
addead as. fxns for tpsid #362