Account for nil buffer