MTD: fixup headless buyapple and dualmoving average