change QueryStatusEncoding.ftMode to enum