queryTranslator errors fixed