added cursor wait to check_url