support of multi gems query