fix get bufs