fix bug with clicking on null slice