debug click event