fixed formatting of eventClass