bug fixed with get_results()