sends 404s appropriately