update QueryBuilder.php

fix errors