fix the monitor network and log