the 404 error header is now sent correctly