refine a format for showing remaining buffer.