Settings: fix network bugs.