rename buffer -> tag