fixed clear query builder bug