Fix bytes not being sent right