error fix in ttt.html