rename buffer