modify onclick event