fix main pag