fixes error handling for rna transcription program
fixes error handling for rna transcription program