fixed bug with excludes for buffers