fix open a new window when click on a candidate