Fixing networks bug