correct bug on port_buf_count.