Fixed some networking issues.