check num_results