event api fix for id only