fix regerssion which causes subtitle index shifted