Added prepare data statement in EventType