removed unnecessary instantiations of classes in querParam and omni