Add unit(in variable) & fix bugs