get rid of nonsense 404.html
correct 404 handling for invalid pages