fix compile errors due to missing event classes