bug fix to get_study_ids. and get_public_url function