format some variables