set http status to 404 when rendering 404 page