Bug Fix when parsing a value