IO Exception will print 2 and not 1 & fixed invalid types on parse