make the status script more robust to wrong urls.