minor adjustment / fixed the catalogue bug

query require 1.7 to work with catalogue plugin