fixed a bug in srt