moved queryconfig from xpl/common to common