Fix the bug that the result list is empty