Fix table shifting.