fix bug in node click event