fixed code sample for 404 status code