fix set size in unit