HTTP 404 status code workaround