fix minor bug in download_sdss_query