automatically hide buffers