bug fix, thead click event