chisel: some fixes to uart