fixing timeline caption replace to be case-insensitive