improve the baud convert