cleaning up click events