fix crash on tab, now this is done by readline