Made getQueryBuilder Sync