remove useless typedef in extract