removed duplicate click events