fixing network detection, cleaning log