Fix device index.