Try putting the code that is in the event function in a starter.