fix video buf bug