fix for main page