removed old debug click event