buffer problem