There was an error in manageMatchTextsFunction