main page fixup