#42 improve serial device