changed EvntApi for small fix