fix event using on