ate apple event handler