adjusting baudrate and os rate