Subtitles processing ok

Fixed some bugs