fix method extractData