add a function of unclick