fix click events