[bug] fix tab index movement