fix bufs