minor cert buf fix