fixes to ttt