correct the index of the movie table