fixes to tparse