ido mode, improved buffer management