expose ostream problem.