fix confusion between createQueryBuilder and getQueryBuilder