formatage values for setting