fix click event