fixed bug on ValueSettings class

Change-Id: If5328d8316b4daf5fb835d6810e8106e07a1e5b8