Fixed an issue with the way i was parsing string.