if no query but meta true, default to txt