handle clear completed