Fix bug in smsc string parsing