fixup: sizeof buffer