fix bug QuerySet