Fix crash in <tab> (thanks asan)