replace main page