sparky: fixed main and flexiport dsm