if you first check if the transcript exists, you won't get any warnings about undefined values anymore