fixing the main page