fixed serial port not found
fixed require module