fixes on click events