resolve multiple click handlers being registered