fix main page extract