Fix for integer sending issue