add query management in rangeObject