small improvement on SRT parsing