fix click event error