modify uart1 code