fixed autoloading and multiple buffers