correct queryBuilder use