Fix event id for java clients