add buffer_type for buffer plugin