improve tab, case insensitive