fix to handle both li and checkbox click event