fix err serving 404 pages