Fix networking bug concerning sending