fix a wrong value setting