Trying to fix click event