In the very last statement in your program, it's supposed to set the baudrate back to 9600 (51).

But instead it puts 103 (4800 baud) in there again.

hth,