change the get_extract data to fix the empty array bug