temp resolution to muti-buffer problem