removed extra register click event