fix main base