added value validation in setCurrentValue