fix sms stock xml generation