fix crash on double click into empty table