Buffer initialization fix.