small bugfix with the buffers