rebuilt buffer