set hidden for buffers