* Fix bug in setValue method