fix script & new style for events