fix reference order
idEvent init