fix for string yyyyMMdd = sn.Substring(snLength, ?); error