fix value setting for decimal