compile fail - wrong preevent type