clearfuncion fixed