fix get_all_samples and get_all_libraries [ci skip]