make the click function on web not duplicate