fixed import and packages issues in event files