check before clear homework