little change about Query class