404 exception properly implemented