fix buf 311