fixed networking bug