[streaming] refector internal states