correct tab index