Fix flowView's bug