Fix crash sending bigger data