buffer alloc cleanup / 10l