strict mode for main page