added 404 exception raising