Fix upload_url_text bug