fixed serial_util, errors