replaced 404 with http.StatusNotFound