debugging mcb queries