deal with not being passed a buffer.