Integer parse exception resolved