support output stream in html results