parse_buf now works