; or (ii) an audit of each of the accounts involved, in accordance with paragraphs (2) and (4). (4) Submission of copies Not later than 30 days after the completion of each such audit in a State, the chief executive officer of the State shall submit copies of such audit, at no charge, to any eligible entity that was the subject of the audit, to the legislature of the State, and to the Secretary. (5) Repayments If the Secretary, after review of the audit, finds that a State has not expended an amount of funds in accordance with this subtitle, the State shall immediately use an amount of State funds equal to the amount of improperly expended funds for the original purposes for which the grant funds were intended. (6) Response to complaints The Secretary shall respond in an expeditious and speedy manner to complaints of a substantial or serious nature that a State has failed to use grant funds received under section 675 or 676 or to carry out State activities under this subtitle in accordance with the provisions of this subtitle. (7) Investigations Whenever the Secretary determines that there is a pattern of complaints regarding failures described in paragraph (6) or a complaint of a serious deficiency concerning any State, the Secretary shall conduct an investigation of the use of the funds received under this subtitle by such State in order to ensure compliance with the provisions of this subtitle. (b) State funds (1) Corrective action plan In the event the Secretary withholds funding pursuant to section 684(a)(5)(A), the Secretary shall subsequently make the withheld funding available to the State not later than 90 days after the date of correction of the serious deficiency specified in the corrective action plan described in section 684(a)(2)(B)(ii), provided that the State complies with the corrective action plan approved by the Secretary and corrects the serious deficiency by the date specified in such corrective action plan. (2) Application For purposes of paragraph (1), failures described in subsection