title wrong when using TAB (off by one)