[streaming] fixed serialization bug