enchance charbuffer