fix click button bug