remove QueryBuilder from parameters if it's not used