some optimize in vector
add pdata property for flow event