removed obsolete appMode query