set correct length and default name for buffer
3.2.2