fix $index instead of index when delete movie