modify baud rate calculate