send correct 404 headers