small edit to buffer