handle not found pages with default state