NXP-14969: correctly format spans