If 'to' field is undefined then fetch it from 37th index
get 'to' value if the 13th index is undefined
Merge pull request #85 from madhugb/master

get 'to' value if the 13th index is undefined