fix minor bug with list click handlers