finish the check button