fix for bash network script