fixed serial.go