fix null result in operate method, force to pass a type parameter in queryAggregate
added a guide