fixed add_url with app_index, fixed #483