coerce to buffer