parse the value before storing it, to make sure we are storying the correct data