moved stringifcation of original value to after parsing