add changes done to class.QueryBuilder.php