add streamout and fix bugs
update changelog