add subtitle type check
add subtitle type check