Fixed setCurrentValue structure.