set free the click on event code