Handle value error in parse value