use buffer if not content is available