fix Bug with cutting bytes when calling BUFFER_FILL at the end.
fix integer to number output including output for payload size.