fix onclear in button