the main page now runs properly.