remove net functions from settings.c