fixed error when no serving_url